package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {
    /**
     * 购物车添加商品功能
     */
    void addShopping(ShoppingCartDTO shoppingCartDTO);

    List<ShoppingCart> showShopCart();

    void clean();

    void subShop(ShoppingCartDTO shoppingCartDTO);
}
